package net.akkz.dao;

import java.util.ArrayList;

import net.akkz.dbFactory.Session;
import net.akkz.exception.BuildClassError;
import net.akkz.exception.SQLExcuteException;
import net.akkz.model.ImgViewGood;

public interface ImgViewGoodDao
{
	public void addImgViewGood(Session session, ImgViewGood imgViewGood) throws SQLExcuteException;
	
	public boolean checkImgViewGood(Session session, ImgViewGood imgViewGood) throws SQLExcuteException, BuildClassError;
	
	public ArrayList<ImgViewGood> findImgViewByImgViewId(Session session, int imgViewId) throws SQLExcuteException, BuildClassError;
	
	public ArrayList<ImgViewGood> findImgViewByStudentId(Session session, int studentId) throws SQLExcuteException, BuildClassError;
	
	public void deleteImgViewId(Session session, ImgViewGood imgViewGood) throws SQLExcuteException;
}
